import request from '@/utils/request'

// 查询我的岗位列表
export function listAll(hospId) {
  return request({
    url: '/research/res/listRight?hospId=' + hospId,
    method: 'get',
  })
}
//查询所有岗位表
export function listResearch() {
  return request({
    url: '/research/res/listAll',
    method: 'get',
  })
}

//通过id查询项目
export function getlistById(id) {
  return request({
    url: '/research/res/' + id,
    method: 'get'
  })
}

export function selectBySname(name){
  return request({
    url: '/research/res/sname?name=' + name,
    method: 'get'
  })
}

